package com.ilancuo.thinkinjava.chapter_10;

/**
 * 内部类的继承
 */
class WithInner {
    class Inner {
    }
}

public class InheritInner extends WithInner.Inner {

    private InheritInner(WithInner withInner) {
        withInner.super();
    }

    public static void main(String[] args) {
        WithInner wi = new WithInner();
        InheritInner inner = new InheritInner(wi);
    }
}
